package org.jctc.els.modules.biz.entity.ElsUserProject;


import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.mp.base.BaseEntity;

/**
 * 用户和项目的关联表
 *
 * @TableName els_user_project
 */
@ApiModel(description = "用户和项目的关联表")
@Data
@EqualsAndHashCode(callSuper = false)
@TableName(value = "els_user_project")
public class ElsUserProject extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 用户ID
     */
    @ApiModelProperty("用户ID")
    private Long userId;

    /**
     * 项目ID
     */
    @ApiModelProperty("项目ID")
    private Long projectId;

    /**
     * 乐观锁
     */
    @ApiModelProperty("乐观锁")
    private Long revision;


}